package com.zhoukx;


import org.activiti.engine.RepositoryService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 *  spring-acticiti整合测试
 *
 *     目标：activiti与spring整合
 *           成功标志： 是否生成相关的表
 *           输出一个Repsotitoryervice对象
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:activiti-spring.xml")
public class test01 {

    @Autowired
    private RepositoryService repositoryService;


    @Test
    public  void testDeployment(){
        System.out.println("部署对象："+repositoryService);
    }

}
